//
//  SHTabBarView.h
//  ShinyOrder
//
//  Created by 王方伟 on 16/7/22.
//  Copyright © 2016年 ShinyHub. All rights reserved.
//

#import <UIKit/UIKit.h>
@class SHTabBarView;

@protocol TabBarViewDelegage <NSObject>
@optional
- (void)tabBar:(SHTabBarView *)tabBar didSelectedButtonFrom:(long)from to:(long)to;
@end

@interface SHTabBarView : UIView
-(void)addTabBarButtonWith:(UITabBarItem *)barItem;
@property (assign, nonatomic) NSUInteger selectedIndex;
@property (nonatomic, weak) id<TabBarViewDelegage> delegate;
@end
